﻿using System;
using System.Collections.Generic;
using System.DirectoryServices.AccountManagement;

namespace ECube.SEC.Models
{
    public class ADConnect
    {
        public ADConnect()
        {
            this.Key = "local";
            this.ContextOptions = ContextOptions.Negotiate;
            this.ContextType = ContextType.Domain;
        }
        public string Key { get; set; }
        public string Name { get; set; }
        public string Container { get; set; }
        public ContextType ContextType { get; set; }
        public ContextOptions ContextOptions { get; set; }
        public string Username { get; set; }
        public string Password { get; set; }
        //public string Searchfilter { get;set;}
            
    }
}
